package com.ssyt.hiring.web.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ssyt.cdp.common.PageModel;
import com.ssyt.hiring.entity.PositionEntity;
import com.ssyt.hiring.web.dao.PositionDao;

@Service
public class PositionService {

	@Autowired
	private PositionDao position;

	public PageModel<PositionEntity> listAll(String queryStr, int pageNo,
			int pageSize) {
		return position.listAll(queryStr, pageNo, pageSize);
	}
}
